package ooday02;

public class ExtendTest {
    public static void main(String[] args) {
        Student zy=new Student("战鹰",29,"上海",
                "001", "2499围棋工作室");
        zy.sayHi();


        Student cxk=new Student("蔡徐坤",30,"湖北武汉",
                "001","jsd2302");
        cxk.sayHi();
        cxk.study();
        Teacher kj=new Teacher("柯洁",26,
                "上海",500000);
        kj.sayHi();
        kj.teach();
        Doctor lx=new Doctor("连笑",31,"北京","九段");
        lx.sayHi();
        lx.cut();
    }
}
